package com.jinzhi.jzdoor.certificate.pojo;


import com.jinzhi.jzweb.domain.CertificateNewsDO;
import com.jinzhi.jzweb.domain.CertificateProfileDO;
import lombok.Data;

@Data
public class CertificateInfoVo {

	private String name;
	private String organization;
	private Integer grade;
	private String introduce;
	private String related_majors;
	private Double exam_fee;
	private String certificate_img;

	public void CertificateInfoVo (CertificateProfileDO certificateProfileDO , CertificateNewsDO certificateNewsDO){
		this.name = certificateProfileDO.getName();
		this.organization = certificateProfileDO.getOrganization();
		this.grade = certificateNewsDO.getGrade();
		this.introduce = certificateNewsDO.getIntroduce();
		this.related_majors = certificateNewsDO.getRelatedMajors();
		this.exam_fee = certificateNewsDO.getExamFee();
		this.certificate_img = certificateNewsDO.getCertificateImg();
	}
}
